package com.ydh.company.pojo;


import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import java.sql.Timestamp;
import java.util.List;

public class PurchaseReturnGoodsMain {
  @ApiModelProperty(name = "purchaseReturnGoodsMainId",notes = "退货订单主表id",dataType = "string",required = false)
  private String purchaseReturnGoodsMainId;
  @NotBlank(message = "采购退货单号不能为空")
  @ApiModelProperty(name = "purchaseReturnNo",notes = "采购退货单号",dataType = "string",required = true)
  private String purchaseReturnNo;
  @ApiModelProperty(name = "returnGoodsStatus",notes = "退货状态",dataType = "long",required = false)
  private Long returnGoodsStatus;
  @ApiModelProperty(name = "purchaseOrderNumber",notes = "关联采购订单号",dataType = "string",required = true)
  private String purchaseOrderNumber;
  @ApiModelProperty(name = "repositoryId",notes = "仓库id ",dataType = "string",required = true)
  private String repositoryId;
  @ApiModelProperty(name = "supplierId",notes = "供货商id",dataType = "string",required = true)
  private String supplierId;
  @ApiModelProperty(name = "totalcCount",notes = "退货金额",dataType = "double",required = true)
  private double totalcCount;
  @ApiModelProperty(name = "remarks",notes = "退货备备注",dataType = "string",required = true)
  private String remarks;
  @ApiModelProperty(name = "creator",notes = "制单人",dataType = "string",required = true)
  private String creator;
  @ApiModelProperty(name = "handledBy",notes = "经办人",dataType = "string",required = true)
  private String handledBy;
  private Repository repository;
  private Supplier supplier;
  @ApiModelProperty(name = "date",notes = "退货日期",dataType = "Timestamp",required = true)
  private java.sql.Timestamp date;
  private List<PurchaseReturnGoodsDetail> purchaseReturnGoodsDetail;

  public void setPurchaseReturnGoodsDetail(List<PurchaseReturnGoodsDetail> purchaseReturnGoodsDetail) {
    this.purchaseReturnGoodsDetail = purchaseReturnGoodsDetail;
  }

  public List<PurchaseReturnGoodsDetail> getPurchaseReturnGoodsDetail() {
    return purchaseReturnGoodsDetail;
  }

  public String getPurchaseOrderNumber() {
    return purchaseOrderNumber;
  }

  public void setPurchaseOrderNumber(String purchaseOrderNumber) {
    this.purchaseOrderNumber = purchaseOrderNumber;
  }

  public String getRepositoryId() {
    return repositoryId;
  }

  public void setRepositoryId(String repositoryId) {
    this.repositoryId = repositoryId;
  }

  public String getSupplierId() {
    return supplierId;
  }

  public void setSupplierId(String supplierId) {
    this.supplierId = supplierId;
  }

  public double getTotalcCount() {
    return totalcCount;
  }

  public void setTotalcCount(double totalcCount) {
    this.totalcCount = totalcCount;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public String getCreator() {
    return creator;
  }

  public void setCreator(String creator) {
    this.creator = creator;
  }

  public String getHandledBy() {
    return handledBy;
  }

  public void setHandledBy(String handledBy) {
    this.handledBy = handledBy;
  }

  public Repository getRepository() {
    return repository;
  }

  public void setRepository(Repository repository) {
    this.repository = repository;
  }

  public Supplier getSupplier() {
    return supplier;
  }

  public void setSupplier(Supplier supplier) {
    this.supplier = supplier;
  }

  public Timestamp getDate() {
    return date;
  }

  public void setDate(Timestamp date) {
    this.date = date;
  }





  public String getPurchaseReturnGoodsMainId() {
    return purchaseReturnGoodsMainId;
  }

  public void setPurchaseReturnGoodsMainId(String purchaseReturnGoodsMainId) {
    this.purchaseReturnGoodsMainId = purchaseReturnGoodsMainId;
  }


  public String getPurchaseReturnNo() {
    return purchaseReturnNo;
  }

  public void setPurchaseReturnNo(String purchaseReturnNo) {
    this.purchaseReturnNo = purchaseReturnNo;
  }


  public Long getReturnGoodsStatus() {
    return returnGoodsStatus;
  }

  public void setReturnGoodsStatus(Long returnGoodsStatus) {
    this.returnGoodsStatus = returnGoodsStatus;
  }

}
